package com.kgc.ljp.server.entity;

import java.io.Serializable;

/**
 * 用户信息类，父类
 */
public abstract class UserAndAdmin implements Serializable {
    //账号
    private String name;
    //密码
    private String pwd;

    /**
     * 无参构造
     */
    public UserAndAdmin() {
    }

    /**
     * 有参构造
     * @param name
     * @param pwd
     */
    public UserAndAdmin(String name, String pwd) {
        this.name = name;
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
